<body>
<div id="console"></div>
<script src="cross-frame-access.js"></script>
<script>
    try {
        log(eval("window.frameElement"));
    } catch (e) {
        log("'window.frameElement' access threw: '" + e.toString() + "'.");
    }
</script>
</body>
